CFLAG= -std=c++17  -I../../bitrpc/build/release-install-cpp11/include/
LFLA= -L../../bitrpc/build/release-install-cpp11/lib -ljsoncpp -lmuduo_net -lmuduo_base -pthread 


all:clent server
clent:Test.cc
	g++ -g $(CFLAG) -o $@ $^ $(LFLA)
server:testServer.cc
	g++ -g $(CFLAG) -o $@ $^ $(LFLA)

.PHONY:test
test:
	g++ -o $@ Test.cc -ljsoncpp -pthread -std=c++17
.PHONY:clean 
clean:
	rm -f server clent test